/**
 * 数据库配置
 */

const database = {
  host: '127.0.0.1',
  port: 3306,
  dbName: 'test_0814',
  username: 'test_0814',
  password: 'test_0814'
}

const security = {
  secretKey: 'odkfakf9348kad',
  expiresIn: 20 * 60 * 60
}

const wxConfig = {
  appId: 'wxa4d427779455b06d',
  secret: '11261367fa33f3aaf5423635e8619085'
}

const BookConfig = {
  // http://apis.juhe.cn/fapig/birthdayBook/query
  // 请求参数：keyword=&=&key=b1aa20a87c10b3b2bab51280d60fbadb
  detailUrl: 'http://apis.juhe.cn/fapig/birthdayBook/query',
  key: 'b1aa20a87c10b3b2bab51280d60fbadb'
}

module.exports = {
  database,
  security,
  wxConfig,
  BookConfig
}